package comanche.cmd;

import java.io.File;
import java.util.ArrayList;
import java.util.Date;

public class LastModified extends AbstractCommand implements ICmd {

	@Override
	protected void manageDirectory(File f) {
		append(""+new Date(f.lastModified()));

	}

	@Override
	protected void manageFile(File f) {
		append(""+new Date(f.lastModified()));

	}

	@Override
	public String getName() {
		return "LastModified";
	}

}
